package cn.chengpengper.im.sdk.domain.annotation;

import cn.chengpengper.im.common.domain.enums.ImListenerType;
import org.springframework.stereotype.Component;

import java.lang.annotation.ElementType;
import java.lang.annotation.Retention;
import java.lang.annotation.RetentionPolicy;
import java.lang.annotation.Target;

@Target({ElementType.TYPE, ElementType.FIELD})
@Retention(RetentionPolicy.RUNTIME)
@Component
public @interface ImListener {
    ImListenerType listenerType();
}
